<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Default Session Driver
    |--------------------------------------------------------------------------
    */
    'driver' => \Phalcon\Session\Adapter\Files::class,
    'config' => [
          /*
           |--------------------------------------------------------------------------
           | Session Database Connection
           |--------------------------------------------------------------------------
           |
           | When using the "database" or "redis" session drivers, you may specify a
           | connection that should be used to manage these sessions. This should
           | correspond to a connection in your database configuration options.
           |
           */

            'connection' => null,
            /*
            |--------------------------------------------------------------------------
            | Session Lifetime
            |--------------------------------------------------------------------------
            |
            */

            'lifetime' => 1200,
            /*
           |--------------------------------------------------------------------------
           | Session File Location
           |--------------------------------------------------------------------------
           |
           | When using the native session driver, we need a location where session
           | files may be stored. A default has been set for you but a different
           | location may be specified. This is only needed for file sessions.
           |
           */

            'files' => BASE_PATH . '/runtime/framework/sessions/',
    ]
];